<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Log in</title>
<style type="text/css">
body {
	background-color: #F2EBDB;
}
</style>
</head>

<body>
<form id="Login" name="form1" method="post" action="">
<table width="719" border="0" align="center"   cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="6"><img src="../pcbg/body_information_01.png" width="719" height="88" /></td>
  </tr>
  <tr>
    <td width="12" rowspan="6" background="../pcbg/body_activity_02.png">&nbsp;</td>
    <td width="96" bgcolor="#FFFFFF">&nbsp;</td>
    <td width="111" rowspan="6" bgcolor="#FFFFFF"><img src="../pcbg/key.png" width="111" height="145" /></td>
    <td width="75" bgcolor="#FFFFFF"></td>
    <td width="395" align="left" bgcolor="#FFFFFF"><h1>Login</h1></td>
    <td width="30" rowspan="6" background="../pcbg/body_activity_04.png">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">Email :</td>
    <td bgcolor="#FFFFFF">
      <input type="text" name="txtemail" id="email" />
    </td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">Password : </td>
    <td bgcolor="#FFFFFF">
      <input type="password" name="txtpass" id="pass" />
    </td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">
    
    
      <input type="submit" name="Login" id="Login" value="Log In" onClick="this.form.action='check_login.php'; submit()" /> 
      &nbsp; &nbsp; 
      <input type="submit" name="Register" id="Register" value="Register" onClick="this.form.action='register.php'; submit()"/>
    </td>
  </tr>
  <tr>
    <td colspan="6"><img src="../pcbg/body_activity_05.png" width="719" height="47" /></td>
  </tr>
</table>
</form>

<?php
   $objConnect = odbc_connect("register_web","","");
    if($objConnect)
	{
		echo "Database Connected.";
	}
	else
	{
		echo "Database Connect Failed";
	}
	odbc_close($objConnect);
	
?>
</body>
</html>